import request from "../../utils/request"
// 
const updateEmpPostLevel = (data: any) => {
    return request({
        url: '/empPostLevel/update',
        method: 'put',
        data
    })
}

const addEmpPostLevel = (data: any) => {
    return request({
        url: '/empPostLevel/add',
        method: 'post',
        data
    })
}

const getEmpPostLevelList = () => {
    return request({
        url: '/empPostLevel/list',
        method: 'get',
    })
}

const deleteEmpPostLevel = (id: number) => {
    return request({
        url: '/empPostLevel/delete/' + id,
        method: 'delete',
    })
}

export {
    updateEmpPostLevel,
    addEmpPostLevel,
    getEmpPostLevelList,
    deleteEmpPostLevel,
}